<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://www.facebook.com/2008/fbml"> 
    <head> 
        <title><?php echo $title; ?></title>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <?php if (isset($meta)) echo meta($meta); ?>
        <link rel="shortcut icon" href="/favicon.ico" />
        <link rel="stylesheet" href="/assets/themes/frontend/style.css" />
        <script type="text/javascript" src="/assets/js/jquery.js"></script>
        <script type="text/javascript" src="/assets/themes/frontend/js.js"></script>
    </head>
    <body> 
        <div class="welcome">
            <div class="likes"><a href="<?php echo $login; ?>"><img alt="Like" src="/assets/themes/frontend/images/like-btn.png"/></a></div>
            <div class="logo"><a href="/"><img alt="K+ Ngoại Hạng Anh" title="Sôi động mùa giải Ngoại Hạng Anh cùng K+" src="/assets/themes/frontend/images/wlogo.png"/></a></div>
        </div>
        <div id="fb-root"></div>
        <script>
            window.fbAsyncInit = function() {
                FB.init({
                    appId: '602229363143622', // App ID from the app dashboard
                    channelUrl: '//fb.thegioiapp.com/ngoai-hang-anh/tham-gia/', // Channel file for x-domain comms
                    status: true, // Check Facebook Login status
                    xfbml: true  // Look for social plugins on the page
                });
                // Additional initialization code such as adding Event Listeners goes here
                FB.api('/me', function(response) {
                    //alert('Your name is ' + response.name);
                });
            };
            (function(d, s, id) {
                var js, fjs = d.getElementsByTagName(s)[0];
                if (d.getElementById(id)) {
                    return;
                }
                js = d.createElement(s);
                js.id = id;
                js.src = "//connect.facebook.net/en_US/all.js";
                fjs.parentNode.insertBefore(js, fjs);
            }(document, 'script', 'facebook-jssdk'));
        </script>
    </body> 
</html>